<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="UTF-8" import="com.javapig.util.*,com.dd.*,java.util.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<%@ page import="com.javapig.util.*"%>
<%@ page import="com.dd.exception.*" %>
<%@ page import="java.util.*" %>
<%@ page import="com.dd.*" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.chantel.tool.db.PageData" %>

<%@ include file="global.jsp" %> 

<%

	ArrayList UserManagedProjects = XiangMuManager.GetUserManageedXiangMuByUserID(pageUser.getId());
	int nXiangMuCount = UserManagedProjects.size();
	
	int nAllBillCount = UserManager.getAllCaiGouBiaoByUserId(pageUser.getId());
	int nAllJuJueCount = UserManager.getShenHeJuJueCaiGouBiaoByUserId(pageUser.getId());
	int nAllTongBuoCount = UserManager.getShenHeTongGuoCaiGouBiaoByUserId(pageUser.getId());
	int nAllDenDaiShenHeCount = UserManager.getDengDaiShenHeCaiGouBiaoByUserId(pageUser.getId());

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>采购员平台</title>
<style>
 .text_title{
   font:"宋体";
   color:#083772;
   font-size:9pt;
 }
 .STYLE1 {font: "宋体"; color: #083772; font-size: 12pt; font-weight: bold; }
</style>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

     <table align="center" width="95%" border="0" cellpadding="1" cellspacing="1"  frame="box">
		<tr>
			<th width="50%" >&nbsp;</th>
			<th width="50%">&nbsp;</th>
		</tr>
		<tr bgcolor="#eeeeee" align="center">
			<td colspan="2"><font size="-1" class="text_title"><b>用户基本信息</b></font></td>
		</tr>
		<tr align="center">
			<td >				
					<b class="text_title"><font color="#083772">登录名:	</font></b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
				  <%=pageUser.getYongHuMing() %>
				 </font></b>	
			</td>
		</tr>	
		<tr align="center">
			<td >				
					<b class="text_title">真实姓名:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
				<%=pageUser.getXingMing() %>
				</font></b>	
			</td>
		</tr>
		<tr align="center">
			<td >				
					<b class="text_title">所属项目:	</b>			</td>
			<td >
					<%
						if(nXiangMuCount >0 )
						{
							Iterator itxm = UserManagedProjects.iterator();
							while(itxm.hasNext())
							{
								XiangMu xmUx = (XiangMu)itxm.next();
								
					%>
						
				   				 <li>
				   				 	<b class="text_title"><font color="#083772">
				   				 		<%=xmUx.getMingCheng() %>
				   				 	</font></b>	
				   				 </li>
				    <%
							}
						}
				    %>	
			</td>
		</tr>	
			<tr bgcolor="#eeeeee" align="center">
			<td colspan="2">
				<font color="#333333" size="-1" class="text_title">
					<b>提交的采购类比价单基本信息</b>			</font>			</td>
		</tr>
				<tr align="center">
			<td >				
					<b class="text_title">等待审核的表单数量:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
					<%=nAllDenDaiShenHeCount %>	
				</font></b>	
			</td>
		</tr>	
				<tr align="center">
			<td >				
					<b class="text_title">审批通过的表单数量:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
					<%=nAllTongBuoCount %>
				</font></b>				
			</td>
		</tr>	
				<tr align="center">
			<td >				
					<b class="text_title">审批被拒绝的数量:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
					<%=nAllJuJueCount %>
				</font></b>		
			</td>
		</tr>
						<tr align="center">
			<td >				
					<b class="text_title">采购类比价单总数量:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
					<%=nAllBillCount %>
				</font></b>		
			</td>
		</tr>	
					<tr bgcolor="#eeeeee" align="center">
			<td colspan="2">
				<font color="#333333" size="-1" class="text_title">
					<b>提交的施工类比价单基本信息</b>			</font>			</td>
		</tr>
				<tr align="center">
			<td >				
					<b class="text_title">等待审核的表单数量:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
					0
				</font></b>	
			</td>
		</tr>	
				<tr align="center">
			<td >				
					<b class="text_title">审批通过的表单数量:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
					0
				</font></b>			
			</td>
		</tr>	
				<tr align="center">
			<td >				
					<b class="text_title">审批被拒绝的数量:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
					0
				</font></b>		
			</td>
		</tr>
						<tr align="center">
			<td >				
					<b class="text_title">施工类比价单总数量:	</b>			</td>
			<td >
				<b class="text_title"><font color="#083772">
					0
				</font></b>		
			</td>
		</tr>							
	</table>
</BODY>
</HTML>
